package cn.yangliu.dubbo;

import cn.yangliu.dubbo.service.ProviderService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

/**
 * 作者 杨柳
 * 创建时间 2017-08-30 17:01
 */
@SpringBootApplication
public class ConsumerApplication {

    public static void main(String[] args) {
        ApplicationContext ctx=SpringApplication.run(ConsumerApplication.class, args);
       /* ProviderService service=ctx.getBean(ProviderService.class);
        System.out.println(service.hello("张飞"));*/
    }
}

